﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sharp3DMath.Strokes
{
    public struct GlobalGeometricFeature
    {
        double ach, pch, alt, plt, alq, plq, aer, per, her, wer, tl, hollowness;

        public double Ach
        {
            get { return ach; }
            set { ach = value; }
        }
        public double Pch { get { return pch; } set { pch = value; } }
        public double Alt { get { return alt; } set { alt = value; } }
        public double Plt { get { return plt; } set { plt = value; } }
        public double Alq { get { return alq; } set { alq = value; } }
        public double Plq { get { return plq; } set { plq = value; } }
        public double Aer { get { return aer; } set { aer = value; } }
        public double Per { get { return per; } set { per = value; } }
        public double Her { get { return her; } set { her = value; } }
        public double Wer { get { return wer; } set { wer = value; } }
        public double Tl { get { return tl; } set { tl = value; } }
        public double Hollowness { get { return hollowness; } set { hollowness = value; } }

        public static GlobalGeometricFeature Zero
        {
            get  
            {
                GlobalGeometricFeature feature = new GlobalGeometricFeature();
                feature.Ach = 0;
                feature.Aer = 0;
                feature.Alq = 0;
                feature.Alt = 0;
                feature.Her = 0;
                feature.Hollowness = 0;
                feature.Pch = 0;
                feature.Per = 0;
                feature.Plq = 0;
                feature.Plt = 0;
                feature.Tl = 0;
                feature.Wer = 0;
                return feature;
            }
        }
    }
}
